home *** CD-ROM | disk | FTP | other *** search
/ Libris Britannia 4 / science library(b).zip / science library(b) / PROGRAMM / DB_CLIPP / 0669.ZIP / SECURE.DOC < prev    next >
Text File  |  1987-04-06  |  4KB  |  89 lines

  1.                                     SECURE
  2.                           Writen by:  Juan L. Romero, 1987.
  3.  
  4. SECURE is a very good security program specially designed for dBASE III,
  5. dBASE III PLUS or FOXPLUS Data Base Manager.
  6.  
  7. Being a dBASE III user, programer and consultant I soon had the need to keep
  8. track of authorized users that had previously being active in the application.
  9.  
  10. I achieved my idea in designing SECURE from a Mainframe application called
  11. ROSCOE which if any of you are familiar with, you now how helpful it could
  12. become at times.
  13.  
  14. SECURE starts off by using the following files.
  15.  
  16. USERS.DBF  -  Contains all authorized user ids' and their password.
  17. USED.DBF   -  Keeps track of dBASE III system use by tracking logon attempts
  18.               by issuing a status for that attempt:
  19.                (IN = successfully logged-on)
  20.                (OUT = successfully logged-off)
  21.                (TRY # = logon attempt which after 3 attempts quits dBASE III)
  22.            -  Keeps track of the entered ID name or number
  23.            -  Keeps track of successfully logged-on system time.
  24.            -  Keeps track of successfully logged-off system time and the amount
  25.               of logon time in dBASE III.
  26.  
  27. SECURE.PRG -  Security program.
  28.  
  29. SECTIMER.PRG -  This program is to be merged into which ever menu program you
  30.                 currently have installed in your system, just before the step
  31.                 where you issue dBASE III to exit to DOS.
  32.                 Example:
  33.  
  34.                        CASE(option)='X'
  35.                         ==> merge sectimer.prg HERE! <==
  36.                         QUIT
  37.  
  38.                 *  This step allows you to keep track of whatever time you user
  39.                    logged-off from dBASE III.
  40.  
  41. SECFILES.MEM -  Is a memory file that issues variables the value of your
  42.                 USERS.DBF & USED.DBF.
  43.  
  44.  
  45. =============================   INSTALLATION  =================================
  46.  
  47. 1.  Copy SECURE.PRG,USERS.DBF,USED.DBF and SECFILES.MEM to your dBASE III
  48.     current directory.
  49.  
  50. 2.  Enter dBASE III Mode, USE users.dbf
  51.                           APPEND
  52.                           [Enter your authorized ids & passwords]
  53.                           Ctrl-W to Save.
  54.                           QUIT
  55.  
  56. 3.  (OPTIONAL, BUT SMART) If you have a file HIDE or UNHIDE utility, I suggest
  57.     that you hide the following files: SECFILES.MEM, USERS.DBF, USED.DBF.
  58.  
  59. 4.  Modify you CONFIG.DB file to contain the following command.
  60.  
  61.            COMMAND = DO SECURE.PRG
  62.  
  63. 5.  Now you must tell SECURE what program you wish to chain or call in
  64.     after a user has successfully signed-on.
  65.  
  66.     Use a true ASCII file editor and modify SECURE.PRG at the following
  67.     line where you see these comments.
  68.  
  69. * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
  70. * IMPORTANT   Access is allowed,enter file to chain below.*
  71. * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
  72. *                DO [filename]
  73. ^                      ^
  74. |                      |_______ Specify path and file name to chain.
  75. |____ Remember to               Example: DO \db3/main.prg
  76.       remove this *
  77.  
  78.  
  79.  
  80.                 BINGO!! SIMPLE AS THAT!!!
  81.  
  82. From now on your USED.DBF file keeps track of all your users.
  83.  
  84. ** IF YOU HAVE ANY QUESTIONS OR ANY SUGGESTIONS TOWARDS THIS UTILITY PLEASE
  85.    FEEL FREE TO CONTACT ME, JUAN L. ROMERO AT (201) 863-4959 OR LEAVE ME A
  86.    MESSAGE ON THIS BBS. **
  87.  
  88. ==============================================================================
  89.